/*
 * HtmlMSFormatter.java
 *
 * Created on November 14, 2001, 8:40 PM
 */

package br.ufmg.dees.insane.ui.rich.learn.learn_view.equation_view.command;

/**
 *
 * @author  krishna
 * @version
 */
public class HtmlMSFormatter extends MatrixSystemFormatter {
    
    //private MatrixStructuralAnalysis msa;
    
    /** Creates new HtmlMSFormatter */
    public HtmlMSFormatter() {
       // msa = new MatrixStructuralAnalysis(parent.getModel().getDModel());
       // rows = msa.numberingAll();
       // cols = rows;
       // A = new GMatrix(msa.addGlobalMatrix());
        //B = new GVector(msa.addGlobalVector());
        //X = new GVector(msa.solver());
        ATitle = "Stiffness";
        BTitle =  "Forces";
        XTitle = "Displacements";
        rowLabels = new String[rows];
        colLabels = new String[cols];
        for (int i = 0; i < rows; i++) {
            rowLabels[i] = new String("" + (i + 1));
        }
        colLabels = rowLabels;
    }
    
    public String format() {
        StringBuffer str = new StringBuffer("<HTML>");
        
        str.append("<HEAD>");
        str.append("<TITLE>INSANE for LEARN HELP</TITLE>");
        str.append("</HEAD>");
        
        str.append("<BODY>");
        str.append("<br>");
        str.append("INSANE FOR LEARN HELP - VERSION 0.1");
        str.append("Renata Nicolielo Moreira");
        
       
        str.append("</BODY>");
        str.append("</HTML>");
        return str.toString();
    }
    
}
